Autogenerated HTML docs for v2.26.2-266-ge8703
diff --git a/githooks.html b/githooks.html index 53fd31b..96d3b21 100644 --- a/githooks.html +++ b/githooks.html
@@ -1198,10 +1198,46 @@ all files and folders.</p></div> </div> <div class="sect2"> +<h3 id="_p4_changelist">p4-changelist</h3> +<div class="paragraph"><p>This hook is invoked by <code>git-p4 submit</code>.</p></div> +<div class="paragraph"><p>The <code>p4-changelist</code> hook is executed after the changelist +message has been edited by the user. It can be bypassed with the +<code>--no-verify</code> option. It takes a single parameter, the name +of the file that holds the proposed changelist text. Exiting +with a non-zero status causes the command to abort.</p></div> +<div class="paragraph"><p>The hook is allowed to edit the changelist file and can be used +to normalize the text into some project standard format. It can +also be used to refuse the Submit after inspect the message file.</p></div> +<div class="paragraph"><p>Run <code>git-p4 submit --help</code> for details.</p></div> +</div> +<div class="sect2"> +<h3 id="_p4_prepare_changelist">p4-prepare-changelist</h3> +<div class="paragraph"><p>This hook is invoked by <code>git-p4 submit</code>.</p></div> +<div class="paragraph"><p>The <code>p4-prepare-changelist</code> hook is executed right after preparing +the default changelist message and before the editor is started. +It takes one parameter, the name of the file that contains the +changelist text. Exiting with a non-zero status from the script +will abort the process.</p></div> +<div class="paragraph"><p>The purpose of the hook is to edit the message file in place, +and it is not supressed by the <code>--no-verify</code> option. This hook +is called even if <code>--prepare-p4-only</code> is set.</p></div> +<div class="paragraph"><p>Run <code>git-p4 submit --help</code> for details.</p></div> +</div> +<div class="sect2"> +<h3 id="_p4_post_changelist">p4-post-changelist</h3> +<div class="paragraph"><p>This hook is invoked by <code>git-p4 submit</code>.</p></div> +<div class="paragraph"><p>The <code>p4-post-changelist</code> hook is invoked after the submit has +successfully occured in P4. It takes no parameters and is meant +primarily for notification and cannot affect the outcome of the +git p4 submit action.</p></div> +<div class="paragraph"><p>Run <code>git-p4 submit --help</code> for details.</p></div> +</div> +<div class="sect2"> <h3 id="_p4_pre_submit">p4-pre-submit</h3> <div class="paragraph"><p>This hook is invoked by <code>git-p4 submit</code>. It takes no parameters and nothing from standard input. Exiting with non-zero status from this script prevent -<code>git-p4 submit</code> from launching. Run <code>git-p4 submit --help</code> for details.</p></div> +<code>git-p4 submit</code> from launching. It can be bypassed with the <code>--no-verify</code> +command line option. Run <code>git-p4 submit --help</code> for details.</p></div> </div> <div class="sect2"> <h3 id="_post_index_change">post-index-change</h3> @@ -1230,7 +1266,7 @@ <div id="footer"> <div id="footer-text"> Last updated - 2020-03-10 08:03:13 PDT + 2020-04-22 14:37:28 PDT </div> </div> </body>